package com.example.dell.startproject_224lx.service;

import com.example.dell.startproject_224lx.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Part;

/**
 * Created by dell on 2017/4/6.
 */
//Retrofit访问网络的接口
public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
    Call<WeatherResult> getResult(@Part("cityNumber")String cityNumber);
}
